package com.smedi.ismedi.personnel.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: xulinjun
 * @Date: 2021-6-15 17:12
 */
@Data
@TableName(value = "prs_sync_imis_suborg")
public class SubOrganizationSyncFromImisEntity implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "reference_org_id")
    private Long referenceOrgId;

    @TableField(value = "org_short_name")
    private String orgShortName;

    @TableField(value = "top_org_id")
    private String topOrgId;

    @TableField(value = "tenant_id")
    private String tenantId;
}
